page no. 62

SEEN THIS BEFORE:
 while(GetMessage(&msg,NULL,0,0))
{
Translate Message(&msg);
DispatchMessage(&msg);
}
this is a typical message loop that appears in WinMain.The GetMessage fills in the 
Message structure fields width the next Message from the queue Dispatch Message calls 
the appropriate window procedure with this message .
Between this two functions is TranslateMessage,which takes on the responsibility of
 translating keystroke message to character message ,which takes on the responsibility 
If the keystroke message is WM_KEXDOWN or WM_KEXDOWN and if the keystroke 
in combnition width the shift state produce a character, translate message place a character
 message in the message queue.
    The .character message will be the next message that GetMessage retrives from the queue 
after the keystroke message.

    The four character message overall we have four different character message as follows:

  Character Dead Characters 
   None system characters : WM_CHAR WM_DEADCHAR  System characters :
 WM_SYSCHAR WM_SYSDEADCHAR